#ifndef MYWIDGETFACTORY_H
#define MYWIDGETFACTORY_H

#include "loginwidget.h"
#include "registwidget.h"
#include "mainwidget.h"
#include "adddevicewidget.h"

class MyWidgetFactory
{
private:

public:
    MyWidgetFactory()=delete;
    static void init();
    static LoginWidget* getLoginWidget();
    static RegistWidget* getRegistWidget();
    static MainWidget* getMainWidget();
    static AddDeviceWidget* getAddDeviceWidget();
};

#endif // MYWIDGETFACTORY_H
